package org.sbbs.base.webapp.action;

public class BaseJqgridEditAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1269367922230696343L;
	protected static final int MES_TYPE_DIALOG = 1;
	protected static final int MES_TYPE_AREA = 2;
	protected static final int EDIT_TYPE_NEW = 1;
	protected static final int EDIT_TYPE_EDIT = 2;
	protected static final int RETURN_STATUS_SUCCESS = 200;
	protected static final int RETURN_STATUS_ERROR = 300;
	private String gridId;
	private String modelId;
	private String fatherId;

	private String id;
	private String oper;
	private String message;
	private int msgType = MES_TYPE_AREA;
	private int editType = EDIT_TYPE_NEW;
	private int returnCode = RETURN_STATUS_SUCCESS;

	public String getGridId() {
		return gridId;
	}

	public void setGridId(String gridId) {
		this.gridId = gridId;
	}

	public String getModelId() {
		return modelId;
	}

	public void setModelId(String entityId) {
		this.modelId = entityId;
	}

	public int getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(int returnCode) {
		this.returnCode = returnCode;
	}

	public String getFatherId() {
		return fatherId;
	}

	public void setFatherId(String fatherId) {
		this.fatherId = fatherId;
	}

	public String getDelIds() {
		return id;
	}

	public void setDelIds(String id) {
		this.id = id;
	}

	public String getOper() {
		return oper;
	}

	public void setOper(String oper) {
		this.oper = oper;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getMsgType() {
		return msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public int getEditType() {
		return editType;
	}

	public void setEditType(int editType) {
		this.editType = editType;
	}
}
